<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 19635
  Date: 2022/3/25
  Time: 21:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>学生管理</title>
</head>
<body>
<table border="1px" align="center" cellpadding="0" width="500px" height="300px">
    <tr>
        <th>学号</th>
        <th>姓名</th>
        <th>年龄</th>
        <th>操作</th>
    </tr>
    <c:forEach items="${list}" var="student">
        <tr>
             <td>${student.id}</td>
             <td>${student.name}</td>
             <td>${student.age}</td>
             <td>
            <a href="/SpringMvc/student/del?id=${student.id}">删除</a>
            <a href="/SpringMvc/student/find/${student.id}">修改</a>
             </td>
        </tr>
    </c:forEach>

</table>
</body>
</html>
